package com.zhouxl.upgrade;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 创建活动的事件
 * @author zhouxl
 * @DATE 2021/6/22
 * @descriptoin
 */
@Setter
@Getter
public class OrderCreateEvent extends ApplicationEvent {

    private String name;

    private List<String> args;

    public OrderCreateEvent(Object source) {
        super(source);
    }

    public OrderCreateEvent(Object source, String name, List<String> args) {
        super(source);
        this.name = name;
        this.args = args;
    }

}
